Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

wait

mutate.wait

(F 
type
:
Function, condition F)
 => 
unit
wait for the given condition to become true by a mutation of the underlying data.

In case this mutate is not a multi-thread implementation and `condition()` is `false`,
this will `panic`.
Precondition
pre
  safety: is_this_mutate_instated_and_usable
  safety: is_exclusive
Postcondition
post
  debug: condition()

Type Parameters

0.095dev (GIT hash fe578dbae82d257bfb6d755e3b05abbf37247dbe)
last changed: 2026-05-12